<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <title>ESM Execute Order</title>
</head>
<body>
    <h1>ESM Execute Order</h1>
    <p>首先会解析子模块，因此子模块中的代码会首先执行。解析成功后，才会执行父模块代码。</p>
    <script src="./main.js" type="module"></script>
</body>
</html>
